public class SalarySystemMain {
    public static void main(String[] args) {
        SalaryManagementSystem salarySystem = new SalaryManagementSystem();
        System.out.println("===== 员工添加中... =====");
        salarySystem.addEmployee(new RegularEmployee("张三", "EMP001", 55.8, 160));
        salarySystem.addEmployee(new RegularEmployee("李四", "EMP002", 48.5, 180));
        salarySystem.addEmployee(new Manager("王五", "MGR001", 18000, 5000));
        salarySystem.addEmployee(new Manager("赵六", "MGR002", 14500, -800));
        salarySystem.addEmployee(new RegularEmployee("孙七", "EMP003", 60.0, -5));
        System.out.println("\n===== 月度工资条汇总 =====");
        salarySystem.generateAllPaySlips();
    }
}